package com.loongnoy.client;


import com.loongnoy.entity.Point;
import com.loongnoy.entity.ResultMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;



@FeignClient("point-service")
public interface PointServiceClient {
    @PostMapping("/point/add")
    ResultMsg add(@RequestBody Point point);
}